package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysUserOrder;
import com.ruoyi.system.domain.vo.DealClosedVo;

import java.util.List;

public interface SysUserOrderMapper {
    int deleteByPrimaryKey(String orderId);

    int insert(SysUserOrder record);

    int insertSelective(SysUserOrder record);

    SysUserOrder selectByPrimaryKey(String orderId);

    int updateByPrimaryKeySelective(SysUserOrder record);

    int updateByPrimaryKey(SysUserOrder record);

    /**
     * @param sysUserOrder 订单实体类对象
     * @return 返回查询到的数据
     * @Deprecated 查询我的订单分页接口
     */
    List<SysUserOrder> selectMyOrderPageList(SysUserOrder sysUserOrder);

    /**
     * @param biddingDemandId 投标任务id
     * @Deprecated 根据投标任务id删除
     */
    void deleteByDemandId(Long biddingDemandId);

    /**
     * @param sysUserOrder 订单实体类
     * @return 返回查询到的总数
     * @Deprecated 查看订单是否重复派送
     */
    int queryRepeatData(SysUserOrder sysUserOrder);

    /**
     * @Deprecated 查询成交榜数据
     * @return 返回查询到的数据
     */
    List<DealClosedVo> queryUserOrderLeveDataList();
}